﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Registration.aspx.cs" Inherits="Event_SG_EWDT.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Registration</title>
    <script type="text/javascript">
    $(document).ready(function () {
        $(".tbxSignupFields").watermarkify();
    });
</script>
    <style type="text/css">
        .btnRegCreateAcc
        {
            z-index: 1;
            left: 31px;
            position: absolute;
            width: 347px;
            top: 163px;
        }
        .style6
        {
            width: 100%;
            height: 394px;
        }
        .style99
        {
            height:50px;
        }
    </style>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content4" runat="server" 
    contentplaceholderid="ContentPlaceHolder2">
    <div 
    title="main" id="Signup" class="divRegMain">
    <div style="height: 500px; width: 400px; " 
    title="main" id="divRegSignup" class="divRegSignup">
        <table class="style6">
            <tr>
                <td>
    <p class="p">

        Don&#39;t have an account?</p>
                </td>
            </tr>
            <tr>
                <td>
        <p class="p">

            Sign up now! It&#39;s free</p>
                </td>
            </tr>
            <tr>
                <td class="style99">

            <asp:TextBox ID="tbxRegSignUpFullName" runat="server" 
                CssClass="tbxSignupFields" title="Full Name"></asp:TextBox>

                    <asp:RequiredFieldValidator ID="rfvName" runat="server" 
                        ControlToValidate="tbxRegSignUpFullName" Display="Dynamic" 
                        ErrorMessage="Name Required" ValidationGroup="Create" CssClass="rfv"></asp:RequiredFieldValidator>

                </td>
            </tr>
            <tr>
                <td class="style99">

            <asp:TextBox ID="tbxRegSignUpEmail" runat="server" CssClass="tbxSignupFields" 
                title="Email Address"></asp:TextBox>

                    <asp:RegularExpressionValidator ID="revEmail" runat="server" 
                        ControlToValidate="tbxRegSignUpEmail" Display="Dynamic" 
                        ErrorMessage="Invalid Email Format" 
                        ValidationExpression="^[\w-]+(\.[\w-]+)*@([a-z0-9-]+(\.[a-z0-9-]+)*?\.[a-z]{2,6}|(\d{1,3}\.){3}\d{1,3})(:\d{4})?$" 
                        ValidationGroup="Create"></asp:RegularExpressionValidator>

                    <asp:RequiredFieldValidator ID="rfvEmail" runat="server" 
                        ControlToValidate="tbxRegSignUpEmail" Display="Dynamic" 
                        ErrorMessage="Email Required" ValidationGroup="Create" CssClass="rfv"></asp:RequiredFieldValidator>

                </td>
            </tr>
            <tr>
                <td class="style99">

            <asp:TextBox ID="tbxRegSignUpPassword" runat="server" CssClass="tbxSignupFields" 
                title="Password" TextMode="Password"></asp:TextBox>

                    <asp:RequiredFieldValidator ID="rfvPassword" runat="server" 
                        ControlToValidate="tbxRegSignUpPassword" Display="Dynamic" 
                        ErrorMessage="Password Required" ValidationGroup="Create" CssClass="rfv"></asp:RequiredFieldValidator>

                    <br />
                    <br />
                </td>
            </tr>
            <tr>
                <td>

                    &nbsp;</td>
            </tr>
            <tr>
                <td>

            <asp:Button ID="btnRegCreate" runat="server" CssClass="btnRegSignup" 
                Text="Create My Account Now!" onclick="btnRegCreate_Click" 
                        ValidationGroup="Create" />

                </td>
            </tr>
        </table>
      
        </div>
        <div id="SignIn" style="height: 500px; width: 400px; " 
    title="main" class="divRegSignin" >
            <table class="style6">
                <tr>
                    <td>
    <p class="p">
        Already a Member?</p>
                    </td>
                </tr>
                <tr>
                    <td>
            <p class="p">
                Sign in here!</p>
                    </td>
                </tr>
                <tr>
                    <td>
                <asp:TextBox ID="tbxRegSignInEmail" runat="server" CssClass="tbxSignupFields" title="Email"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvSname" runat="server" 
                            ControlToValidate="tbxRegSignInEmail" Display="Dynamic" 
                            ErrorMessage="Email Required" ValidationGroup="Sign In" CssClass="rfv"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                <asp:TextBox ID="tbxRegSignInPassword" runat="server" 
                    CssClass="tbxSignupFields" title="Password" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvSpass" runat="server" 
                            ControlToValidate="tbxRegSignInPassword" Display="Dynamic" 
                            ErrorMessage="Password Required" ValidationGroup="Sign In" CssClass="rfv"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td>
                <asp:Button ID="btnRegSignIn" runat="server" CssClass="btnRegSignup" 
                    Text="Sign in" onclick="btnRegSignIn_Click" ValidationGroup="Sign In" />
                    </td>
                </tr>
            </table>
        </div>
    </div>

</asp:Content>

